% 完整编译: xelatex -> bibtex -> xelatex -> xelatex
\documentclass[UTF8,AutoFakeBold=1,AutoFakeSlant,zihao=12pt,fontset=fandol]{SCNU}

\usepackage[english]{babel}
\usepackage{csquotes}
\usepackage[style=apa,backend=biber,language=auto,autolang=other]{biblatex} % APA 7th 格式
\addbibresource{references.bib} % 你的参考文献文件

% 将"References"改为"参考文献"，并设置为黑体
\DefineBibliographyStrings{english}{
  references = {\heiti 参考文献},
}

% 在这里填写你的论文题目
\newcommand{\thesisTitle}{认知负荷分析的疲劳驾驶预警系统综述}
\newcommand{\thesisTitleEN}{The Influence of GPT on Junior High School Students' Ability to Solve Mathematical Problems}

% 在这里填写你的相关信息
\newcommand{\studentID}{2024090584}
\newcommand{\yourName}{苏同学}
\newcommand{\yourMajor}{应用心理（非全日制）}
\newcommand{\yourDept}{人因工程}
\newcommand{\yourMentor}{陈同学}
\newcommand{\yourCollege}{心理学院}
\newcommand{\yourSecondMentor}{肖老师}

\usepackage{color}
\definecolor{lightgray}{rgb}{.9,.9,.9}
\definecolor{darkgray}{rgb}{.4,.4,.4}
\definecolor{purple}{rgb}{0.65, 0.12, 0.82}

\lstdefinelanguage{JavaScript}{
  keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break, const},
  keywordstyle=\color{blue}\bfseries,
  ndkeywords={class, export, boolean, throw, implements, import, this},
  ndkeywordstyle=\color{darkgray}\bfseries,
  identifierstyle=\color{black},
  sensitive=false,
  comment=[l]{//},
  morecomment=[s]{/*}{*/},
  commentstyle=\color{purple}\ttfamily,
  stringstyle=\color{red}\ttfamily,
  morestring=[b]',
  morestring=[b]"
}

\begin{document}

% 封面（自动生成）
\coverpage

% 中文摘要
\begin{abstract}
\input{abstract1}
\keywords{疲劳驾驶；认知负荷分析；人机交互；预警系统优化}     % 中文关键词
\end{abstract}

% 英文摘要
\begin{abstractEN}
\input{abstract2}
\keywordsEN{fatigue driving; cognitive load analysis; human-machine interaction; warning system optimization}       % 英文关键词
\end{abstractEN}

% 目录（自动生成）
\contentpage


% 引言
\input{introduction}
\input{section2}
\input{section3}
\input{section4}
\input{conclusion}


% 打印参考文献（标题自动为"References"）
\printbibliography

\end{document}
